Quiz on Paxos
Test your understanding of concepts related to the design of Paxos consensus algorithm via a quiz.
Question 10
Let’s assume we have replicated a file across a replica group of three. Should we copy byte by byte, with each byte being put in each Paxos log?
No. The byte-by-byte scheme will be highly inefficient because it will need consensus on each byte, while we don’t need consensus on the bytes of a file whose data has already been generated in the right order.
We should transmit the full file to all the replicas via some shared directory. Then we should use Paxos to put a URI of the file (for example, a path like: /globalshare/temp/file_x) so that all replicas incorporate that file in a consistent way in their file system state machines.
10 of 10
Multi-Paxos
Introduction to Raft